package com.ruoyi.system.domain;

import com.ruoyi.common.core.domain.BaseEntity;

//作品表返回内容,前端查看，封装了作品标题、内容、图片、用户名、部门
public class WorkDetailDTO  {
    //作品id
    private Long workId;
    //作品标题
    private String title;
    //作品内容
    private String content;
    //作品图片
    private String image_url;
    //用户id
    private Long userId;
    //用户名
    private String userName;
    //部门id
    private Long postId;
    //协会id
    private Long deptId;
    //协会名称
    private String deptName;


    public Long getWorkId() {
        return workId;
    }

    public void setWorkId(Long workId) {
        this.workId = workId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImage_url() {
        return image_url;
    }

    public void setImage_url(String image_url) {
        this.image_url = image_url;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getPostId() {
        return postId;
    }

    public void setPostId(Long postId) {
        this.postId = postId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    @Override
    public String toString() {
        return "WorkDetailDTO{" +
                "workId=" + workId +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", image_url='" + image_url + '\'' +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", postId=" + postId +
                ", deptId=" + deptId +
                ", deptName='" + deptName + '\'' +
                '}';
    }
}